<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods:{
    setSize(){

      var px=document.documentElement.clientWidth / 750;

      document.documentElement.style.fontSize=px+'px';
    }
  },
  created(){
    let that=this

    window.onresize = function(){
        that.setSize();
    };

    this.setSize()
  }
}
</script>

<style>
*{
  margin:0;
  padding: 0;
}
</style>
